package com.fzdy.dataplatform.service.impl;

import com.fzdy.dataplatform.core.dao.Dao;
import com.fzdy.dataplatform.core.service.impl.BaseServiceImpl;
import com.fzdy.dataplatform.dao.KTVDao;
import com.fzdy.dataplatform.entity.KTV;
import com.fzdy.dataplatform.service.KTVService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.transaction.Transactional;
import java.util.List;

@Service
@Transactional
public class KTVServiceImpl extends BaseServiceImpl<KTV> implements KTVService {

    @Autowired
    private KTVDao kTVDao;

    @Override
    protected Dao getDao() {
        return kTVDao;
    }

    @Override

    public List<KTV> getList(Integer id)  {
        return kTVDao.getList(id);
    }
}
